package com.lzh.java2;

import java.io.Serializable;

/**
 * @author liuzhihao
 * @create 2021-02-26 22:41
 */
public class Creature<T> implements Serializable {

    private char gender;
    public double weight;

    private void breath(){
        System.out.println("生物呼吸");
    }
    public void eat(){
        System.out.println("生物吃东西");
    }

}
